package com.crane.oss.xunfei.resp;


import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ClassCourseIdAnalysisResp implements Serializable {


    /**
     * className : 小学 1 年级 1 班
     * remarks : null
     * teacherName : 安 yx
     * dayTime : 2022-04-19(星期二)
     * beginTime : 16:55
     * endTime : 16:59
     * pictureUrls : ["http://file1.betatree.cn/1650358676119.jpg","http://file1.betatree.cn/1650358670181.jpg"]
     * studentAttendance : [{"xsbh":"10","xsxm":"朱莉","attendanceFlag":0,"studentId":"4e180bf432d54815b8204cc8c225822b"}]
     * heartMonitor : {"avgHeart":76,"maxHeart":108,"avgDensity":0,"avgLoad":7,"avgPower":36,"avgStep":205,"avgCalorie":4,"studentCount":2,"heartTime":230,"boyLine":"72,72,72,72,72,72,72,72,72,75,71,70,72,76,81,94,100,98,90,81,75,69,7 2,72,75,75,71,70,76,73,73,79,77,78,76,79,77,75,73,73,76,76,77,81,88,83","girlLine":null,"classLine":"72,72,72,72,72,72,72,72,72,75,71,70,72,76,81,94,100,98,90,81,75,69 ,72,72,75,75,71,70,76,73,73,79,77,78,76,79,77,75,73,73,76,76,77,81,88,83"}
     * courseExam : [{"cycleName":"2021-2022 学年国家体测","studentCount":2,"itemCount":1,"excellent":0,"good":0,"pass":0,"unPass":0,"thin":0,"normal":0,"heavy":0,"fat":2}]
     */

    private String classId;
    private String className;
    private String remarks;
    private String teacherName;
    private String dayTime;
    private String beginTime;
    private String endTime;
    private List<String> pictureUrls;
    private HeartMonitorBean heartMonitor;
    private List<StudentAttendanceBean> studentAttendance;
    private List<CourseExamBean> courseExam;

    @Data
    public static class HeartMonitorBean implements Serializable {
        /**
         * avgHeart : 76
         * maxHeart : 108
         * avgDensity : 0
         * avgLoad : 7
         * avgPower : 36
         * avgStep : 205
         * avgCalorie : 4
         * studentCount : 2
         * heartTime : 230
         * boyLine : 72,72,72,72,72,72,72,72,72,75,71,70,72,76,81,94,100,98,90,81,75,69,7 2,72,75,75,71,70,76,73,73,79,77,78,76,79,77,75,73,73,76,76,77,81,88,83
         * girlLine : null
         * classLine : 72,72,72,72,72,72,72,72,72,75,71,70,72,76,81,94,100,98,90,81,75,69 ,72,72,75,75,71,70,76,73,73,79,77,78,76,79,77,75,73,73,76,76,77,81,88,83
         */

        private int avgHeart;
        private int maxHeart;
        private int avgDensity;
        private int avgLoad;
        private int avgPower;
        private int avgStep;
        private int avgCalorie;
        private int studentCount;
        private int heartTime;
        private String boyLine;
        private Object girlLine;
        private String classLine;
    }

    @Data
    public static class StudentAttendanceBean implements Serializable {
        /**
         * xsbh : 10
         * xsxm : 朱莉
         * attendanceFlag : 0
         * studentId : 4e180bf432d54815b8204cc8c225822b
         */

        private String xsbh;
        private String xsxm;
        private int attendanceFlag;
        private String studentId;
    }

    @Data
    public static class CourseExamBean implements Serializable {
        /**
         * cycleName : 2021-2022 学年国家体测
         * studentCount : 2
         * itemCount : 1
         * excellent : 0
         * good : 0
         * pass : 0
         * unPass : 0
         * thin : 0
         * normal : 0
         * heavy : 0
         * fat : 2
         */

        private String cycleName;
        private int studentCount;
        private int itemCount;
        private int excellent;
        private int good;
        private int pass;
        private int unPass;
        private int thin;
        private int normal;
        private int heavy;
        private int fat;
    }
}
